Set current folder

Hi all,

i have a problem to set the current folder to a new location.
The following script changed the current folder, but the new (current) folder will not be displayed in the explorer? In the explorer is always the old folder!
Any ideas how i can display the new folder in the explorer??

My DOORS verion ist 9.2.

Folder f
f = current
print fullName (f) "\n"

string newFolder = "/12345"

Folder newCurrentFolder = folder newFolder
(current FolderRef__) = newCurrentFolder
refreshDBExplorer
f = current
print fullName (f) "\n"

Regards, Benn
BennK - Sat Nov 06 14:49:38 EDT 2010

Re: Set current folder
Mathias Mamsch - Sun Nov 07 13:26:02 EST 2010

See this post! Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Set current folder
BennK - Mon Nov 08 05:37:44 EST 2010

Thank you!! It`s what I was looking for!!!

Re: Set current folder
jontester - Tue Jun 11 17:59:53 EDT 2019

Mathias Mamsch - Sun Nov 07 13:26:02 EST 2010
See this post! Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Hi Mathias,

 

the post! is out of date, do you have an up to date pointer to the answer to

"set current folder"

In particular

 

"i have a problem to set the current folder to a new location.
The following script changed the current folder, but the new (current) folder will not be displayed in the explorer? In the explorer is always the old folder!
Any ideas how i can display the new folder in the explorer??"

 

Thanks you help would be much appreciated

 

Jon